
class CreateInvoices < ActiveRecord::Migration[5.0]
  def change
    create_table :invoices do |t|
      t.integer :type, default: 0
      t.string :title
      t.string :address
      t.string :phone
      t.string :code
      t.string :bank
      t.string :bank_account
      t.timestamps
    end
  end
end
